package com.db.person.service;

import com.db.person.bean.Sex;
import com.db.person.mapper.SexMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SexServiceImpl implements ISexService{

    @Autowired
    private SexMapper sexMapper;

    @Override
    public List<Sex> getAll() {
        return sexMapper.getAll();
    }
}
